Page({
  data: {
    data:{}
  },
  showPopup() {
    wx.navigateTo({
      url: '/pages/jingxuan/jingxuan',
    })
  },
  click(){
    wx.navigateTo({
      url: "/pages/ceping/ceping",
    })
  },
  click2(){
    wx.navigateTo({
      url: "/pages/myZixun_lfy/myZixun_lfy",
    })
  },
  click3(){
    wx.navigateTo({
      url: "/pages/dayi/dayi",
    })
  },
  click4(){
    wx.navigateTo({
      url: "/pages/zhishi/zhishi",
    })
  },
  click5(){
    wx.navigateTo({
      url: "/pages/FM/FM",
    })
  },
  click6(){
    wx.navigateTo({
      url: "/pages/gongyi/gongyi",
    })
  },
  click7(){
    wx.navigateTo({
      url: "/pages/fabiao/fabiao",
    })
  },
  click8(){
    wx.navigateTo({
      url: "/pages/search_wzl/search_wzl",
    })
  },
  onShow(){
    wx.request({
      url: 'http://localhost:8080/swiper/select',
      method: 'GET',
      success: (res)=> {
        this.setData({
          data:res.data
        })
      },
      fail: function(err) {
        console.error(err);
      }
    });
  }
})
